import { IsNotEmpty } from "class-validator";

export class CreateReportManagementDto {
    @IsNotEmpty({ message: '汇报日期不能为空' })
    reportDate: Date

    @IsNotEmpty({ message: '汇报内容不能为空' })
    data: { category: string, content: string }[];

    @IsNotEmpty({ message: '汇报类型不能为空' })
    type: string
}